package com.longy.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.longy.common.utils.PageUtils;
import com.longy.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author longyang
 * @email longyang3240@163.com
 * @date 2020-09-28 20:47:20
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    Long[] findCatelogPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    void update(CategoryEntity category);
}

